package com.leenleda.ips.entity;

import java.io.Serializable;
import java.util.List;

public class InsertBean implements Serializable {


    /**
     * createTime : 1631088058000
     * id : 3
     * intercutName : 这是测试资源插播1
     * intercutContent : intercutContent
     * intercutTime : 700
     * resourceIds : [3,4]
     * resourceSwitchSpeed : 100
     * fileRecords : [{"filename":"u=1819216937,2118754409&fm=26&gp=0.jpg","filepath":"materialFile/20210201155221/u=1819216937,2118754409&fm=26&gp=0.jpg","filesize":"22KB","filetype":2,"id":3,"oprtime":1612165941000,"path":"http://192.168.1.131:1301/path/file/materialFile/20210201155221/u=1819216937,2118754409&fm=26&gp=0.jpg"},{"filename":"11111.jpg","filepath":"materialFile/20210201155221/11111.jpg","filesize":"587KB","filetype":2,"id":4,"oprtime":1612165941000,"path":"http://192.168.1.131:1301/path/file/materialFile/20210201155221/11111.jpg"}]
     */

    private long createTime;
    private String id;
    private String intercutName;
    private String intercutContent;
    private int intercutTime;
    private int intercutType;
    private int resourceSwitchSpeed;
    private List<Integer> resourceIds;
    private List<FileRecordsBean> fileRecords;

    public static class FileRecordsBean implements Serializable {
        /**
         * filename : u=1819216937,2118754409&fm=26&gp=0.jpg
         * filepath : materialFile/20210201155221/u=1819216937,2118754409&fm=26&gp=0.jpg
         * filesize : 22KB
         * filetype : 2
         * id : 3
         * oprtime : 1612165941000
         * path : http://192.168.1.131:1301/path/file/materialFile/20210201155221/u=1819216937,2118754409&fm=26&gp=0.jpg
         */

        private int position;
        private String filename;
        private String filepath;
        private String filesize;
        private int filetype;
        private int id;
        private long oprtime;
        private String path;

        public String getFilename() {
            return filename;
        }

        public void setFilename(String filename) {
            this.filename = filename;
        }

        public String getFilepath() {
            return filepath;
        }

        public void setFilepath(String filepath) {
            this.filepath = filepath;
        }

        public String getFilesize() {
            return filesize;
        }

        public void setFilesize(String filesize) {
            this.filesize = filesize;
        }

        public int getFiletype() {
            return filetype;
        }

        public void setFiletype(int filetype) {
            this.filetype = filetype;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public long getOprtime() {
            return oprtime;
        }

        public void setOprtime(long oprtime) {
            this.oprtime = oprtime;
        }

        public String getPath() {
            return path;
        }

        public void setPath(String path) {
            this.path = path;
        }

        public int getPosition() {
            return position;
        }

        public void setPosition(int position) {
            this.position = position;
        }
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getIntercutName() {
        return intercutName;
    }

    public void setIntercutName(String intercutName) {
        this.intercutName = intercutName;
    }

    public String getIntercutContent() {
        return intercutContent;
    }

    public void setIntercutContent(String intercutContent) {
        this.intercutContent = intercutContent;
    }

    public int getIntercutTime() {
        return intercutTime;
    }

    public void setIntercutTime(int intercutTime) {
        this.intercutTime = intercutTime;
    }

    public int getResourceSwitchSpeed() {
        return resourceSwitchSpeed;
    }

    public void setResourceSwitchSpeed(int resourceSwitchSpeed) {
        this.resourceSwitchSpeed = resourceSwitchSpeed;
    }

    public int getIntercutType() {
        return intercutType;
    }

    public void setIntercutType(int intercutType) {
        this.intercutType = intercutType;
    }

    public List<Integer> getResourceIds() {
        return resourceIds;
    }

    public void setResourceIds(List<Integer> resourceIds) {
        this.resourceIds = resourceIds;
    }

    public List<FileRecordsBean> getFileRecords() {
        return fileRecords;
    }

    public void setFileRecords(List<FileRecordsBean> fileRecords) {
        this.fileRecords = fileRecords;
    }
}
